package com.jr.entry;

public class User {
    private Integer id;
    private String name;                //用户名
    private String enterpriseId;        //企业id
    private String enterpriseName;      //企业名称
    private String phone;               //手机号
    private String account;             //账号
    private String password;            //密码
    private String idcardName;          //身份证姓名
    private String idcardNo;            //身份证号码

    public User() {
    }

    public User(Integer id, String name, String enterpriseId, String enterpriseName, String phone, String account, String password, String idcardName, String idcardNo) {
        this.id = id;
        this.name = name;
        this.enterpriseId = enterpriseId;
        this.enterpriseName = enterpriseName;
        this.phone = phone;
        this.account = account;
        this.password = password;
        this.idcardName = idcardName;
        this.idcardNo = idcardNo;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(String enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdcardName() {
        return idcardName;
    }

    public void setIdcardName(String idcardName) {
        this.idcardName = idcardName;
    }

    public String getIdcardNo() {
        return idcardNo;
    }

    public void setIdcardNo(String idcardNo) {
        this.idcardNo = idcardNo;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", enterpriseId='" + enterpriseId + '\'' +
                ", enterpriseName='" + enterpriseName + '\'' +
                ", phone='" + phone + '\'' +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", idcardName='" + idcardName + '\'' +
                ", idcardNo='" + idcardNo + '\'' +
                '}';
    }
}
